package net.huashitong.common.entity;

import com.sirdc.modules.core.entity.StringEntity;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author  消息
 */
@Entity
@Table(name = "t_common_sms")
public class SysMessage extends StringEntity {
    /**推送内容*/
    private String esContent;
    /**推送所需参数Json格式*/
    private String esParam;
    /**接收人
     *  短信： 手机号
     *  微信： 微信id
     *  邮件： 邮箱
     * */
    private String esReceiver;
    /**推送失败原因*/
    private String esResult;
    /**发送次数*/
    private String  esSendNum;
    /**推送状态 0未推送 1推送成功 2推送失败*/
    private String esSendStatus;
    /**推送时间*/
    private String esSendTime;
    /**消息标题*/
    private String esTitle;
    /**推送方式：1短信 2邮件 3微信*/
    private String esType;
    /**备注*/
    private String remark;

    public String getEsContent() {
        return esContent;
    }

    public void setEsContent(String esContent) {
        this.esContent = esContent;
    }

    public String getEsParam() {
        return esParam;
    }

    public void setEsParam(String esParam) {
        this.esParam = esParam;
    }

    public String getEsReceiver() {
        return esReceiver;
    }

    public void setEsReceiver(String esReceiver) {
        this.esReceiver = esReceiver;
    }

    public String getEsResult() {
        return esResult;
    }

    public void setEsResult(String esResult) {
        this.esResult = esResult;
    }

    public String getEsSendNum() {
        return esSendNum;
    }

    public void setEsSendNum(String esSendNum) {
        this.esSendNum = esSendNum;
    }

    public String getEsSendStatus() {
        return esSendStatus;
    }

    public void setEsSendStatus(String esSendStatus) {
        this.esSendStatus = esSendStatus;
    }

    public String getEsSendTime() {
        return esSendTime;
    }

    public void setEsSendTime(String esSendTime) {
        this.esSendTime = esSendTime;
    }

    public String getEsTitle() {
        return esTitle;
    }

    public void setEsTitle(String esTitle) {
        this.esTitle = esTitle;
    }

    public String getEsType() {
        return esType;
    }

    public void setEsType(String esType) {
        this.esType = esType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
